package yl.hs.bmipfull.exception;

import yl.hs.bmipfull.utils.DataState;

/**
 * UserAccountException
 *
 * @author 谢景广
 * @date 2021-05-12
 */
public class UserAccountException extends RuntimeException {
    private DataState state;

    public UserAccountException(String message) {
        super(message);
        this.state = DataState.CREATED;
    }

    public UserAccountException(String message, DataState state) {
        super(message);
        this.state = state;
    }
}
